diff options
| author | schererleander <leander@schererleander.de> | 2025-07-02 22:18:13 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-07-02 22:18:13 +0200 |
| commit | c12ca8a52d27b1931d826df10119984f2a7c58dd (patch) | |
| tree | eca7e5e8f5f7fb7351047b49036def52b66172b2 /src/app/api/auth/[...nextauth]/route.ts | |
| parent | 899d50098c20c5652040e989932628d63af28301 (diff) | |
feat: add authentication API
Diffstat (limited to 'src/app/api/auth/[...nextauth]/route.ts')
| -rw-r--r-- | src/app/api/auth/[...nextauth]/route.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/api/auth/[...nextauth]/route.ts b/src/app/api/auth/[...nextauth]/route.ts new file mode 100644 index 0000000..264f925 --- /dev/null +++ b/src/app/api/auth/[...nextauth]/route.ts @@ -0,0 +1,6 @@ +import NextAuth from "next-auth" +import { authOptions } from "@/lib/auth" + +const handler = NextAuth(authOptions) + +export { handler as GET, handler as POST }
\ No newline at end of file |
